<?php /* Smarty version 2.6.26, created on 2014-12-14 09:51:54
         compiled from page/order.html */ ?>
<h4>Daftar Pesanan ON_Store</h4>

<table class="table">
    <tr>
        <th>Tanggal</th>
        <th>Nama Pemesan</th>
        <th>Status</th>
        <th>Produk</th>
        <th>Harga</th>
        <th></th>   
    </tr>   
    <?php $_from = $this->_tpl_vars['pro']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['s']):
?>
    <tr>
        <td><?php echo $this->_tpl_vars['s']['tgl']; ?>
</td>
        <td><?php echo $this->_tpl_vars['s']['realname']; ?>
</td>
        <td><?php echo $this->_tpl_vars['s']['status']; ?>
</td>
        <td><img src="<?php echo $this->_tpl_vars['s']['img']; ?>
" width='200px'></td>
        <td><?php echo $this->_tpl_vars['s']['harga']; ?>
</td>        
        <td>
            <a href="editorder.php?idpesan=<?php echo $this->_tpl_vars['s']['idpesan']; ?>
" class="btn btn-small btn-success">Edit</a>
            <a href="order.php?a=del&idpesan=<?php echo $this->_tpl_vars['s']['idpesan']; ?>
" class="btn btn-small btn-warning">Delete</a>
        </td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>  
</table>